package org.chnxi.study.springcloud.dubbo.storage.service;

import org.chnxi.study.springcloud.dubbo.dto.RpcRequest;
import org.chnxi.study.springcloud.dubbo.dto.RpcResponse;
import org.chnxi.study.springcloud.dubbo.storage.dto.StorageDto;

public interface IStorageService extends IDubboService {

    /**
     * 执行购买动作
     * @param storageDto
     * @return
     */
    public StorageDto buy(StorageDto storageDto);

    public RpcResponse<StorageDto> second(String data);

    public RpcResponse<StorageDto> three(RpcRequest<StorageDto> request);

}
